package com.opal.modules.procurement.mapper.oracle;

import com.opal.modules.procurement.entity.PurchaseContract;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface PurchaseMapper {
	
	/**
	 * 根据物料编码和组织
	 * @return
	 */
	public List<PurchaseContract> queryPurchaseContract(PurchaseContract purchaseContract);

	/**
	 * 采购订单及时关闭
	 * @return
	 */
	List<Map<String,String>> queryTimelyClose(@Param("pkOrg") String pkOrg);
}
